package com.ibiaoke.marketing.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.concurrent.ConcurrentHashMap;

public class CouponReceive implements Serializable {
    /**
     * id
     */
    private Integer couponReceiveId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 优惠券id
     */
    private Integer couponId;

    /**
     * 优惠券名称
     */
    private String couponName;

    /**
     * 优惠券类型（1正常优惠券--范围，2注册优惠券--领取后时长）
     */
    private Byte scopeType;

    /**
     * 优惠券价格
     */
    private BigDecimal couponPrice;

    /**
     * 优惠券满金额可用
     */
    private BigDecimal fullPrice;

    /**
     * 使用开始时间
     */
    private Date useBeginTime;

    /**
     * 使用结束时间
     */
    private Date useEndTime;

    /**
     * 优惠券领取后持续天数
     */
    private Integer durationDay;

    /**
     * 使用状态0 未使用 1已使用
     */
    private Byte useStatus;

    /**
     * 领取时间
     */
    private Date receiveTime;

    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 业务id
     */
    private Integer businessId;

    /**
     * 使用类型（0全部商品可用，1指定商品可用）
     */
    private Integer useType;

    /**
     * 允许使用的商品id
     */
    private Integer canUseId;

    /**
     * 允许使用的商品名称
     */
    private String goodsName;


    private static final long serialVersionUID = 1L;

    public Integer getCouponReceiveId() {
        return couponReceiveId;
    }

    public void setCouponReceiveId(Integer couponReceiveId) {
        this.couponReceiveId = couponReceiveId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Byte getScopeType() {
        return scopeType;
    }

    public void setScopeType(Byte scopeType) {
        this.scopeType = scopeType;
    }

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public BigDecimal getFullPrice() {
        return fullPrice;
    }

    public void setFullPrice(BigDecimal fullPrice) {
        this.fullPrice = fullPrice;
    }

    public Date getUseBeginTime() {
        return useBeginTime;
    }

    public void setUseBeginTime(Date useBeginTime) {
        this.useBeginTime = useBeginTime;
    }

    public Date getUseEndTime() {
        return useEndTime;
    }

    public void setUseEndTime(Date useEndTime) {
        this.useEndTime = useEndTime;
    }

    public Integer getDurationDay() {
        return durationDay;
    }

    public void setDurationDay(Integer durationDay) {
        this.durationDay = durationDay;
    }

    public Byte getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(Byte useStatus) {
        this.useStatus = useStatus;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getCanUseId() {
        return canUseId;
    }

    public void setCanUseId(Integer canUseId) {
        this.canUseId = canUseId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
}